Skip to content

Hologram sneak fix#586

Closed
EthanKeating wants to merge 1 commit intoViaVersion:masterfrom
EthanKeating:holo-sneak-fix
Closed

Hologram sneak fix#586
EthanKeating wants to merge 1 commit intoViaVersion:masterfrom
EthanKeating:holo-sneak-fix

Conversation

@EthanKeating
Copy link
Contributor

Just a quick PR that allows 1.7 holograms to "sneak" (They just disappear but its a very smooth transition).

This allows even more Hologram customization, for my use case it is for extra nametag lines.

final boolean invisible = (flags & 0x20) != 0;
small = (armorStandFlags & 0x01) != 0;
marker = (armorStandFlags & 0x10) != 0;
sneaking = (flags & 0x02) != 0;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this tested? Sneaking is flag 1 and not 2 afaik.

I also wonder what this does. Can you maybe provide a video showing how the client reacts when this entity data is set? I can't find an implementation for it in the Minecraft sourcecode

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants